package com.answeringplayer.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 错题DTO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WrongQuestionDTO {

    /**
     * 错题ID
     */
    private Long wrongId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 题目ID
     */
    private Long questionId;

    /**
     * 错误次数
     */
    private Integer wrongCount;

    /**
     * 最后错误时间
     */
    private LocalDateTime lastWrongTime;

    /**
     * 是否已掌握
     */
    private Boolean isMastered;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    private LocalDateTime updatedAt;
}
